libxl: remove the entries from xenstore when destroying a disk
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Thu, 17 Feb 2011 19:50:44 +0000 (19:50 +0000)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Thu, 17 Feb 2011 19:50:44 +0000 (19:50 +0000)
commit0cfffb1f9ebea14a17761700690d85f118823644
tree0794f98939ae2a4bc0a316b3e47c510e1e2329df
parent7b289f9e42acbea5058fe5ce916affcdfabc4e66
libxl: remove the entries from xenstore when destroying a disk

Currently we are only changing the backend state but it is not enough to
entirely destroying a disk device: remove all the entries from xenstore
as well.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/libxl.c
tools/libxl/libxl_device.c
tools/libxl/libxl_internal.h